#!/anaconda3/envs/Script/bin python3.8
# -*- coding: utf-8 -*-
# ---
# @Software: PyCharm
# @File: validation.py
# @Author: AllenFu
# @Institution: NCHU, China
# @E-mail: nchufujianjian@126.com
# @Site: 中文验证描述
# @Time: 11月 27, 2020
# ---

validation = {
    # 验证规则
    'required': {
        True: '必须要的',
        False: '非必须',
    },
    'type': '类型',
    'string': '字符串',
    'integer': '整形',
    'minlength': '最小长度',
    'maxlength': '最大长度',
    # 验证字段
    'nickName': '昵称',
    'headImg': '头像',
    'email': '邮箱',
    'password': '密码'
}
